<%-- 
    Document   : addStaff
    Created on : Feb 25, 2011, 5:04:54 PM
    Author     : Elise
--%>
<div class="centreForm">
    <h1>Add Staff</h1>
    <c:if test="${!empty addStaffFailureFlag}">
        <p class="message errorMessage">Unable to add staff to the database.</p>
    </c:if>
    <c:if test="${!empty staffName}">
        <p class="message confirmationMessage">${staffName} has been added to the database.</p>
    </c:if>
    <form method="post" action="<c:url value='/staff/new'/>">
        <fieldset>
            <legend>Customer Details</legend>
            <label for="firstName">First name:</label><input type="text" name="firstName" id="firstName" /><br />
            <script type="text/javascript">$("input#firstName").focus();</script>
            <label for="lastName">Last name:</label><input type="text" name="lastName" /><br />
            <label for="username">Username:</label><input type="text" name="username" /><br />
            <label for="password">Password:</label><input type="text" name="password" /><br />
            <input type="submit" class="submit" value="Add Staff" />
        </fieldset>
    </form>
</div>
